// -----------------------------------------------------------------------
//  <copyright file="ResourceByIdAndIncludeRoleResourceSpec.cs" company="LiuliuSoft">
//      Copyright (c) 2022-2025 DaprPlus. All rights reserved.
//  </copyright>
//  <site>https://dapr.plus</site>
//  <last-editor>郭明锋</last-editor>
//  <last-date>2025/1/6 23:00</last-date>
// -----------------------------------------------------------------------

using DaprPlus.Authorization.Domain.Entities;

namespace DaprPlus.Authorization.Domain.Specs
{
    public class ResourceIncludeRoleResourceSpec : SpecificationBase<Resource>
    {
        public ResourceIncludeRoleResourceSpec() : base(m => true)
        {
            AddInclude(m => m.RoleResources);
        }
    }
}
